package com.yizhi.domain.entityDO;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 考试管理表
 * </p>
 *
 * @author zhouyihe
 * @since 2024-04-16
 */
@TableName("works_manage")
public class WorksManageDO implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    /**
     * 作品编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    
    /**
     * 报名组别
     */
    private String groupName;
    
    /**
     * 作品名称
     */
    private String name;
    
    /**
     * 学校
     */
    private String school;
    
    /**
     * 参赛人姓名
     */
    private String teacherName;
    
    /**
     * 参数人联系方式
     */
    private String teacherTel;
    
    /**
     * 考试日期
     */
    private String examDate;
    
    /**
     * 上传时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime uploadTime;
    
    public Integer getId() {
        return id;
    }
    
    public void setId(Integer id) {
        this.id = id;
    }
    public String getGroupName() {
        return groupName;
    }
    
    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }
    public String getName() {
        return name;
    }
    
    public void setName(String name) {
        this.name = name;
    }
    public String getSchool() {
        return school;
    }
    
    public void setSchool(String school) {
        this.school = school;
    }
    public String getTeacherName() {
        return teacherName;
    }
    
    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName;
    }
    public String getTeacherTel() {
        return teacherTel;
    }
    
    public void setTeacherTel(String teacherTel) {
        this.teacherTel = teacherTel;
    }
    public String getExamDate() {
        return examDate;
    }
    
    public void setExamDate(String examDate) {
        this.examDate = examDate;
    }
    public LocalDateTime getUploadTime() {
        return uploadTime;
    }
    
    public void setUploadTime(LocalDateTime uploadTime) {
        this.uploadTime = uploadTime;
    }
    
    @Override
    public String toString() {
        return "WorksManage{" +
                "id=" + id +
                ", groupName=" + groupName +
                ", name=" + name +
                ", school=" + school +
                ", teacherName=" + teacherName +
                ", teacherTel=" + teacherTel +
                ", examDate=" + examDate +
                ", uploadTime=" + uploadTime +
                "}";
    }
}
